package com.wander.business.book.c2_2_3.service;

import javax.annotation.PostConstruct;
import javax.annotation.PreDestroy;

/**
 * @author Wander.Zeng
 * @create 2017-10-15 15:14
 * @desc JSR250WayService
 */
public class JSR250WayService {

    @PostConstruct
    public void init() {
        System.out.println("jsr250-init-method");
    }

    public JSR250WayService() {
        super();
        System.out.println("初始化构造函数-JSR250WayService");
    }

    @PreDestroy
    public void destory() {
        System.out.println("jsr250-destory-method");
    }

}
